import Storage from './storage'
let Util = {

}
Util.title = (title) => {
  title = title ? title + ' - Home' : 'SIWI'
  window.document.title = title
}
Util.checkSignStatus = () => {
  let authUser = Storage.getItem('authUser')
  if (authUser) {
    return authUser
  } else {
    return false
  }
}

export default Util
